/*
 *项目铺排
 */
import request from '@/utils/request'

export function getYppList(data) {
    return request({
        url: '/pc/project/distribute/query_already_distribute_project',
        method: 'post',
        data
    })
}
export function getDppList(data) {
    return request({
        url: '/pc/project/distribute/query_no_distribute_project',
        method: 'post',
        data
    })
}

export function queryAllDistrict() {
    return request({
        url: '/renovation/region/getDistList',
        method: 'post',
    })
}

export function saveDate(data) {
    return request({
        url: '/pc/project/distribute/save',
        method: 'post',
        data
    })
}

export function saveSpread(data) {
    return request({
        url: '/pc/project/distribute/save',
        method: 'post',
        formData: data,
        load: true
    })
}